#include<reg51.h>
#include<intrins.h>
void delay(unsigned int i)
{
    unsigned int k;
	for(k=0;k<i;k++);
}
void main()
{
	unsigned int j;
	unsigned int c;
    j=0xfe;
	c=0x7f;
	while(1)
	{
	 P1=j;
	 P2=c;
	 	j=_crol_(j,1);
		c=_crol_(c,1);
		delay(80000);
	}

}